package com.qixin.api.mapper;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.qixin.api.bean.TotalMenuResourse;
import com.qixin.api.bean.TotalRole;
import com.qixin.api.bean.ZtreeBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  * 菜单资源表 Mapper 接口
 * </p>
 *
 * @author 李许多
 * @since 2018-11-12
 */
public interface TotalMenuResourseMapper extends BaseMapper<TotalMenuResourse> {
    List<TotalMenuResourse> findMenuByRole(@Param("param")TotalRole totalRole);
    List<ZtreeBean> findMenuZtree();
}